<?php


namespace App\Http\Controllers;
use Illuminate\Support\Facades\DB;
use Illuminate\Routing\Controller;
use Illuminate\Database\QueryException;
use App\Models\city;
class index extends Controller
{
   public function index()
   {
       $city=new city();
       $citys=$city->cityRows();
        $house=Db::table('house')->get();
       return view('index', ['house'=>$house,'citys'=>$citys]);
   }
    public function enter()
    {
        return view('enter');
    }
    public function company()
    {
       return view('company');
    }
    public function cuture()
    {
        return view('cuture');
    }
    public function contact()
    {
        return view('contact');
    }
    public function join()
    {
        return view('join');
    }
}
